package com.puppet.building182.service;

import com.puppet.building182.pojo.Permission;
import com.puppet.building182.pojo.VO.PermissionVO;


import java.util.HashMap;
import java.util.List;

public interface PermissionService {
    HashMap<String, List> getPermission(Integer id);

    Integer savePermission(Integer id, List<Integer> ids);

    List<Permission> getAllPermission();

    Integer deletePerms(Integer id);

    Permission getById(Integer id);

    Integer updatePermission(Permission permissions);

    Integer addPermsByFile(List<Permission> data);

    List<Permission> getAllPermission(Integer userId);

    List<String> getAllButtonPerms();
}
